﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace UIAStudio
{
    [Flags]
    public enum ModKeys
    {
        Alt = 1,
        Ctrl = 2,
        None = 0,
        Shift = 4, 
        Win = 8
    }

    [Flags]
    public enum Keys
    {
        C = 0x43
    }

    class NativeMethods
    {
        [DllImport("user32.dll")]
        internal static extern bool RegisterHotKey(IntPtr hWnd, int id, uint fsModifiers, uint vk);

        [DllImport("user32.dll")]
        internal static extern bool UnregisterHotKey(IntPtr hWnd, int id);

        [DllImport("kernel32.dll")]
        internal static extern ushort GlobalAddAtom(string name);

        
    }
}
